package cn.stylefeng.guns.modular.base.userorgdata.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 用户数据组织机构关联实例类
 *
 * @author caoxf
 * @since 2023/11/23 20:30
 */
@TableName("sys_user_org_data")
@Data
@EqualsAndHashCode(callSuper = true)
public class UserOrgData extends BaseEntity {

    /**
     * 企业员工主键ID
     */
    @TableField("user_org_id")
    @ChineseDescription("企业员工主键ID")
    private Long userOrgId;

    /**
     * 用户ID
     */
    @TableField("user_id")
    @ChineseDescription("用户ID")
    private Long userId;

    /**
     * 所属机构ID
     */
    @TableField("org_id")
    @ChineseDescription("所属机构ID")
    private Long orgId;

}
